﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using StoreManagementSystem.DataAccessLayer;

namespace StoreManagementSystem.DomainObjects
{
    /// <summary>
    /// General Layout class for a store that implements the ILayout interface
    /// </summary>
    public class Layout : Entity, ILayout
    {

        private string m_Name;

        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        //public bool AddAisle()
        //{
        //    // database interface code - call some stored procedure
        //    return true;
        //}

        //public bool DeleteAisle(int id)
        //{
        //    return true;
        //}

        List<IAisle<Product>> ILayout.Aisles()
        {
            throw new NotImplementedException();
        }

        public void Add(IAisle<Product> item)
        {
            throw new NotImplementedException();
        }

        public void Clear()
        {
            throw new NotImplementedException();
        }

        public bool Contains(IAisle<Product> item)
        {
            throw new NotImplementedException();
        }

        public void CopyTo(IAisle<Product>[] array, int arrayIndex)
        {
            throw new NotImplementedException();
        }

        public int Count
        {
            get { throw new NotImplementedException(); }
        }

        public bool IsReadOnly
        {
            get { throw new NotImplementedException(); }
        }

        public bool Remove(IAisle<Product> item)
        {
            throw new NotImplementedException();
        }

        public IEnumerator<IAisle<Product>> GetEnumerator()
        {
            throw new NotImplementedException();
        }

        System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
        {
            throw new NotImplementedException();
        }
    }
}